package com.ittony.health.mapper;

import com.github.pagehelper.Page;
import com.ittony.health.domain.CheckItem;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface CheckItemMapper{
    public void add(CheckItem checkItem);

    public Page<CheckItem> selectByCondition(String queryString);

    public void delete(Integer id);

    List<Integer> getGroupIdByCheckItemId(Integer id);

    CheckItem findById(Integer id);

    void edit(CheckItem checkItem);

    List<CheckItem> findByIds(List<Integer> checkItemIds);

    List<CheckItem> findAll();

    List<Integer> getIdsByCheckGroupId(Integer checkGroupId);
}
